import request from '@/utils/request'

export function page(data) {
  return request({
    url: `/md/monopy/inspectTypes/page`,
    method: 'post',
    data: data
  })
}

export function select(data) {
  return request({
    url: `/md/monopy/inspectTypes/select`,
    method: 'get',
    params: data
  })
}

export function inspectTaskPage(data) {
  return request({
    url: `/md/monopy/inspectTasks/inspectTaskPage`,
    method: 'post',
    data: data
  })
}

export function selectPageShopOrder(data) {
  return request({
    url: `/md/commonBrowsers/selectPageShopOrder`,
    method: 'post',
    data: data
  })
}

export function delet(data) {
  return request({
    url: `/md/monopy/inspectTasks/delete`,
    method: 'post',
    data: data
  })
}

export function create(data) {
  return request({
    url: `/md/monopy/inspectTasks/create`,
    method: 'post',
    data: data
  })
}
